define([""], function () {
        //渲染数据
        var request = function(){
          var id = App.input(1);
          var url = App.url('gatewory?mod=Shop&cla=IndexController&act=successDetail');
          App.get(url,{param:{
              id:id
          }},function(d){
              if(d.code === 1000){
                  rendor(d.data);
              }
          });
        };
        var rendor = function(d){
            App.log(d);
            App.load_view("page/caseDetail/index",{d:d});
        }
       App.myApp.onPageInit("page.caseDetail.index", function () {
        // navbar透明
        $('.navbar').removeClass('navbar-scroll');
        // 右上角菜单栏
        $('.menu-circle').click(function(){
            $('.menu-circle-list').toggle();
        });
        
    });
    return request();
});